package com.bank.service;

import com.bank.entity.Material;
import com.bank.repository.MaterialRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MaterialService extends EntityService<Material, MaterialRepo> {

    @Autowired
    protected MaterialService(MaterialRepo repo) {
        super(repo);
    }

    public List<String> findMaterialList() {
        return repo.findMaterialList();
    }
}
